package com.hziee.cosmanage.companymanage.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hziee.common.utils.PageUtils;
import com.hziee.common.utils.Query;

import com.hziee.cosmanage.companymanage.dao.CharacterNodeDao;
import com.hziee.cosmanage.companymanage.entity.CharacterNodeEntity;
import com.hziee.cosmanage.companymanage.service.CharacterNodeService;


@Service("characterNodeService")
public class CharacterNodeServiceImpl extends ServiceImpl<CharacterNodeDao, CharacterNodeEntity> implements CharacterNodeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CharacterNodeEntity> page = this.page(
                new Query<CharacterNodeEntity>().getPage(params),
                new QueryWrapper<CharacterNodeEntity>()
        );

        return new PageUtils(page);
    }

}